package com.tengjunjie.qianqianaccountbook.qianqianaccountbook.service;

import com.tengjunjie.qianqianaccountbook.qianqianaccountbook.entity.UserEntity;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

/**
 * Created by tengjunjie on 2017/12/3.
 */
public interface UserService {
    /** 创建用户 */
    int createUser(UserEntity userEntity);

//    /** 查询单个用户 */
//    UserDTO findOneUser(String id);
//
//    /** 查询订单列表. */
//    Page<UserDTO> findListUser(String buyerOpenid, Pageable pageable);
//
//    /** 删除用户 */
//    UserDTO delete(UserDTO userDTO);

}
